#
# Should be placed under
# dev-python/nattraverso
#

inherit eutils distutils

DESCRIPTION="A NAT traversal library for python/twisted"
HOMEPAGE="http://raphael.slinckx.net/nattraverso.php"
SRC_URI="http://raphael.slinckx.net/files/${P}.tar.gz"

LICENSE="LGPL"
SLOT="0"

KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"

IUSE="doc"

DEPEND=">=dev-lang/python-2.3
		>=dev-python/twisted-2.0
		dev-python/soappy"

src_install() {
	distutils_src_install
	
	if use doc ; then
		cp -r ${S}/doc/* ${D}/usr/share/doc/${PF} || die
	fi
}
